package com.woniuxy.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "user-management",url = "http://localhost:8008")
public interface UserFeign {
    @RequestMapping("/rm/getRm")
    List<String> getRm(@RequestParam("username") String  username);
}
